//
//  SEGOpenDoorViewModel.h
//  Commom
//
//  Created by Clavis on 2020/6/3.
//

#import <Foundation/Foundation.h>
#import <SEGModel/SEGNewMyDoorListModel.h>
#import <ReactiveObjC/ReactiveObjC.h>

#define SEGOpenDoorFailBluetoothStateKey @"SEGOpenDoorFailBluetoothStateKey" //蓝牙状态key

NS_ASSUME_NONNULL_BEGIN

@interface SEGOpenDoorViewModel : NSObject

singleton_h(SEGOpenDoorViewModel);

- (RACSignal *)openDoorSignal:(SEGNewMyDoorListModel *)doorModel;

/// 开卷闸门
/// @param doorModel doorModel
- (RACSignal *)openRollingGateDoorSignal:(SEGNewMyDoorListModel *)doorModel actionType:(NSInteger)actionType;

@end

NS_ASSUME_NONNULL_END
